<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk"
      xmlns:v="http://corejsf.com/validator">

<f:view>
<f:loadBundle var="text" basename="#{cbtdqkForm.bundleName}"/>
    <head>
        <title>#{text['cbtdqkDetail.title']}</title>
        <meta name="heading" content="#{text['cbtdqkDetail.heading']}"/>
        <style type="text/css">
            .jscalendar-DB-div-style {
                position: absolute;
                margin-top: -120px;
                margin-left: -508px;
            }
    </style>
    </head>
<body id="cbtdqkForm">

<h:form id="cbtdqkForm" onsubmit="return validateCbtdqkForm(this)">
<h:inputHidden value="#{cbtdqkForm.cbtdqk.id}" id="id"/>
<h:inputHidden value="#{cbtdqkForm.cbtdqk.version}" id="version"/>

<h:panelGroup styleClass="buttonBar bottom">
        <h:commandButton value="#{text['button.save']}" action="#{cbtdqkForm.save}" id="save" styleClass="button"/>

        <c:if test="${not empty cbtdqkForm.cbtdqk.id}">
        <h:commandButton value="#{text['button.delete']}" action="#{cbtdqkForm.delete}"
            id="delete" styleClass="button" onclick="bCancel=true; return confirmDelete('Cbtdqk')"/>
        </c:if>

        <h:commandButton value="#{text['button.cancel']}" action="cancel" immediate="true"
            id="cancel" styleClass="button" onclick="bCancel=true"/>
</h:panelGroup>
<h:panelGrid columns="6">
    <h:outputLabel styleClass="desc" for="mj" value="#{text['cbtdqk.mj']}"/>
    <t:message for="mj" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="mj" value="#{cbtdqkForm.cbtdqk.mj}" required="false" maxlength="255">
     </h:inputText>
    <h:outputLabel styleClass="desc" for="tdjz" value="#{text['cbtdqk.tdjz']}"/>
    <t:message for="tdjz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tdjz" value="#{cbtdqkForm.cbtdqk.tdjz}" required="false" maxlength="255">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tdqsqk" value="#{text['cbtdqk.tdqsqk']}"/>
    <t:message for="tdqsqk" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tdqsqk" value="#{cbtdqkForm.cbtdqk.tdqsqk}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tdsynx" value="#{text['cbtdqk.tdsynx']}"/>
    <t:message for="tdsynx" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tdsynx" value="#{cbtdqkForm.cbtdqk.tdsynx}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="tdwz" value="#{text['cbtdqk.tdwz']}"/>
    <t:message for="tdwz" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="tdwz" value="#{cbtdqkForm.cbtdqk.tdwz}" required="false" maxlength="100">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="yjfqk" value="#{text['cbtdqk.yjfqk']}"/>
    <t:message for="yjfqk" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="yjfqk" value="#{cbtdqkForm.cbtdqk.yjfqk}" required="false" maxlength="50">
    </h:inputText>
    <!--  
    <h:outputLabel styleClass="desc" for="id" value="#{text['cbtdqk.id']}"/>
    <h:inputText styleClass="text medium" id="id" value="#{cbtdqkForm.cbtdqk.id}" required="true">
        <v:commonsValidator type="required" arg="#{text['cbtdqk.id']}"/>
    </h:inputText>
    <t:message for="id" styleClass="fieldError"/>
    
    </h:inputText>
    <h:outputLabel styleClass="desc" for="operation" value="#{text['cbtdqk.operation']}"/>
    <t:message for="operation" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="operation" value="#{cbtdqkForm.cbtdqk.operation}" required="false" maxlength="20">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="optdate" value="#{text['cbtdqk.optdate']}"/>
    <t:message for="optdate" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="optdate" value="#{cbtdqkForm.cbtdqk.optdate}" required="false" maxlength="23">
    </h:inputText>
    
      <h:outputLabel styleClass="desc" for="username" value="#{text['cbtdqk.username']}"/>
    <t:message for="username" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="username" value="#{cbtdqkForm.cbtdqk.username}" required="false" maxlength="50">
    </h:inputText>
    <h:outputLabel styleClass="desc" for="xh" value="#{text['cbtdqk.xh']}"/>
    <t:message for="xh" styleClass="fieldError"/>
    <h:inputText styleClass="text medium" id="xh" value="#{cbtdqkForm.cbtdqk.xh}" required="false" maxlength="255">
    </h:inputText>
    -->
</h:panelGrid>
</h:form>

<v:validatorScript functionName="validateCbtdqkForm"/>

<script type="text/javascript">
    //Form.focusFirstElement($('cbtdqkForm'));
    highlightFormElements();
</script>

</body>
</f:view>
</html>
